<script setup>
import { RouterLink, RouterView } from 'vue-router'
import Aside from '../components/Aside.vue'
import navHeader from '@/components/navHeader.vue';
</script>

<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">
          <Aside />
        </el-aside>
     
      <el-container>
        <el-header>
          <navHeader />
        </el-header>
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>

 
</template>

<style scoped>
.common-layout{
  height: 100%;
}
</style>